package com.example.newsapp.data.`object`

import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue

object StateSave {
    var selected by mutableStateOf(0)
    var currentSelect = 0
    var previousSelect = 0
    var tabNum by mutableStateOf(0)
    var currentTab = 0
    var previousTab = 0
    var currentTab2 by mutableStateOf(0)
    var previousTab2 by mutableStateOf(0)
    var isRefresh by mutableStateOf(false)
    var keyRefresh by mutableStateOf(0)
    var suggestNewsInit = 0
    var hotNewsInit = 0
    var headNewsInit = 0
    var NBANewsInit = 0
    var carNewsInit = 0
    var jokeNewsInit = 0
    var internationNewsInit = 0
    var initState = 0
    var hotInitState = 0
    var isNewsDetail = false
    var gesturesEnable by mutableStateOf(true)
    var isSearchPage = false
    var isNewsPage = true
    var searchRefresh by mutableStateOf(false)
    var alertTitle = ""
    var packageName = ""
}
object PictureState {
    var showImage by mutableStateOf(false)
    var currentTab = 0
    var previousTab = 0
    var tabNum by mutableStateOf(0)
    var isRefresh by mutableStateOf(false)
    var keyRefresh by mutableStateOf(false)
    var suggestInit = true
    var hotInit = true
    var petInit = true
    var sceneInit = true
    var buildingInit = true
    var drawInit = true
}